//! Header for the PremiumCar class
#ifndef PREMIUMCAR_H
#define PREMIUMCAR_H

#include "Car.h"

//! Represents a PremiumCar and holds information about it
/*!
	The PremiumCar class holds the price of a PremiumCar.
	Its information is passed through to a Car.
	\class PremiumCar
	\author Andreas Lehner
	\date 22.11.2012
*/
class PremiumCar : public Car {
public:
	//! CTor of a PremiumCar
	/*!
		The constructor passes information about manufacturer, type and price of the
		PremiumCar through to a Car. The price is determined and cannont be changed.
		\param manufacturer A string holding the maufacturer of the car
		\param type A string holding the type of the car
	*/
	PremiumCar(std::string const& manufacturer, std::string const& type):
		Car(manufacturer, type){
			mPrice = 50.0;
	}
protected:
	void DoPrint(std::ostream &stream) const{
		stream << "Car class: Premium Car" << std::endl;
	}
};

#endif